home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / var / lib / dpkg / info / libsensors3.postrm < prev    next >
Encoding:
Text File  |  2008-07-04  |  585 b   |  30 lines

  1. #! /bin/sh
  2. # postrm script for libsensors3
  3.  
  4. set -e
  5.  
  6. case "$1" in
  7.     purge)
  8.         if [ -e /etc/sensors.conf ]; then
  9.             rm /etc/sensors.conf
  10.         fi
  11.  
  12.         ucf -p /etc/sensors.conf || true
  13.         ;;
  14.         remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
  15.         ;;
  16.     *)
  17.             echo "postrm called with unknown argument \`$1'" >&2
  18.                exit 0
  19. esac
  20.  
  21. # dh_installdeb will replace this with shell code automatically
  22. # generated by other debhelper scripts.
  23.  
  24. # Automatically added by dh_makeshlibs
  25. if [ "$1" = "remove" ]; then
  26.     ldconfig
  27. fi
  28. # End automatically added section
  29.  
  30.